package com.ss.android.newmedia.util;

import android.content.Context;
import com.ss.android.common.app.permission.PermissionsResultAction;
import org.json.JSONObject;

final class b extends PermissionsResultAction {
    private final Context a;
    private final String b;
    private final String c;
    private final String d;
    private final JSONObject e;
    private final long[] f;

    b(Context arg1, String arg2, String arg3, String arg4, JSONObject arg5, long[] arg6) {
        this.a = arg1;
        this.b = arg2;
        this.c = arg3;
        this.d = arg4;
        this.e = arg5;
        this.f = arg6;

    }

    public final void onGranted() {
        long v0 = AppUtil.a(this.a, this.b, this.c, this.d, this.e);
        if(this.f != null && this.f.length > 0) {
            this.f[0] = v0;
        }
    }

    public final void onDenied(String arg1) {
    }
}

